<template>
  <div class="p-12px">
    <div class="flex flex-row items-center justify-between p-b-8px">
      <div class="text-16px font-bold">我的订单</div>
      <div class="text-12px text-gray-400">{{ property.showAllText }} ></div>
    </div>
    <div class="flex flex-row items-center justify-between">
      <div v-for="(item, index) in property.list" :key="index" class="flex flex-1 flex-col items-center gap-8px">
        <el-image class="h-40px w-40px" :src="item.icon" />
        <div class="text-12px">{{ item.title }}</div>
      </div>
    </div>
  </div>
</template>

<script setup lang="ts">
import { UserOrderProperty } from './config'

/** 用户订单 */
defineOptions({ name: 'UserOrder' })
// 定义属性
defineProps<{ property: UserOrderProperty }>()
</script>

<style scoped lang="scss"></style>
